package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.AothorityDao;
import com.bootdo.system.domain.AothorityDO;
import com.bootdo.system.service.AothorityService;



@Service
public class AothorityServiceImpl implements AothorityService {
	@Autowired
	private AothorityDao aothorityDao;
	
	@Override
	public AothorityDO get(Long id){
		return aothorityDao.get(id);
	}
	
	@Override
	public List<AothorityDO> list(Map<String, Object> map){
		return aothorityDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return aothorityDao.count(map);
	}
	
	@Override
	public int save(AothorityDO aothority){
		return aothorityDao.save(aothority);
	}
	
	@Override
	public int update(AothorityDO aothority){
		return aothorityDao.update(aothority);
	}
	
	@Override
	public int remove(Long id){
		return aothorityDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return aothorityDao.batchRemove(ids);
	}

	@Override
	public AothorityDO getAothorityDetail(Map<String, Object> map) {
		return aothorityDao.getAothorityDetail(map);
	}

}
